﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LevelEditor.model.elements;

namespace LevelEditor.events
{
    public class LevelChangedEvent : AbstractChangedEvent
    {
        #region Variables
        private List<DoublePage> m_doublePagesList;
        private int m_doublesPagesNb;
        private int m_type;     // 0 => New Level, 1 => LoadLevel

        #endregion

        #region Constructeurs
        public LevelChangedEvent(string eventMsg, List<DoublePage> doublePagesList, int doublePageNb, int type)
            : base(eventMsg)
        {
            m_doublePagesList = doublePagesList;
            m_doublesPagesNb = doublePageNb;
            m_type = type;
        }

        #endregion

        #region Getters && Setters
        public List<DoublePage> doublePagesList
        {
            get { return m_doublePagesList; }
        }

        public int doublePagesNb
        {
            get { return m_doublesPagesNb; }
        }

        public int type
        {
            get { return m_type; }
        }

        #endregion
    }
}
